package com.hongshan.wallet.router

import android.content.Context
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.facade.annotation.Interceptor
import com.alibaba.android.arouter.facade.callback.InterceptorCallback
import com.alibaba.android.arouter.facade.template.IInterceptor

/**
 * Copyright Qiandai Ltd.
 * Copyright (c) 2019
 * All rights reserved
 *
 * @project  : Wallet
 * @package  : com.example.wallet.router
 * @author   : Administrator
 * @data     : 2019/3/18
 * @email    : zhangxx@baihang-china.com
 */
@Interceptor(priority = 1)
class RouteInterceptor:IInterceptor {

    override fun process(postcard: Postcard, callback: InterceptorCallback) {

        callback.onContinue(postcard)
    }

    override fun init(context: Context) {
    }
}